package com.ruoyi.project.poem.goodsbanner.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 首页banner对象 goods_banner
 *
 * @author shixiangwen
 * @date 2021-06-24
 */
public class GoodsBanner extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 封面图
     */
    @Excel(name = "封面图")
    private String img;

    /**
     * 跳转类型
     */
    @Excel(name = "跳转类型")
    private Long targetType;

    /**
     * 跳转值
     */
    @Excel(name = "跳转值")
    private String targetValue;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer status;

    /**
     * 创建用户
     */
    @Excel(name = "创建用户")
    private String createUser;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long sort;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getImg() {
        return img;
    }

    public void setTargetType(Long targetType) {
        this.targetType = targetType;
    }

    public Long getTargetType() {
        return targetType;
    }

    public void setTargetValue(String targetValue) {
        this.targetValue = targetValue;
    }

    public String getTargetValue() {
        return targetValue;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public Long getSort() {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("img", getImg())
                .append("targetType", getTargetType())
                .append("targetValue", getTargetValue())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("createUser", getCreateUser())
                .append("sort", getSort())
                .toString();
    }
}
